﻿Imports Models

Namespace Solution

    Public Class LayerLibraryVO
        Inherits Models.BaseVO

        Private _idLayerLibrary As Integer
        Private _idUser As Integer
        Private _idCompany As Integer
        Private _name As String
        Private _content As String
        Private _createdDate As DateTime


        Sub New()
        End Sub

        'Sub New(entity As Data.BaseModel.LayerLibrary)
        '    If entity IsNot Nothing Then
        '        idLayerLibrary = entity.IdLayerLibrary
        '        idUser = entity.IdUser
        '        idCompany = entity.IdCompany
        '        name = entity.Name
        '        content = entity.Content
        '        createdDate = entity.CreatedDate
        '    End If
        'End Sub

        Public Property idLayerLibrary() As Integer
            Get
                Return _idLayerLibrary
            End Get
            Set(ByVal value As Integer)
                _idLayerLibrary = value
            End Set
        End Property

        Public Property idCompany() As Integer
            Get
                Return _idCompany
            End Get
            Set(ByVal value As Integer)
                _idCompany = value
            End Set
        End Property

        Public Property idUser() As Integer
            Get
                Return _idUser
            End Get
            Set(ByVal value As Integer)
                _idUser = value
            End Set
        End Property

        Public Property name() As String
            Get
                Return _name
            End Get
            Set(ByVal value As String)
                _name = value
            End Set
        End Property

        Public Property content() As String
            Get
                Return _content
            End Get
            Set(ByVal value As String)
                _content = value
            End Set
        End Property

        Public Property createdDate As DateTime
            Get
                Return _createdDate
            End Get
            Set(value As DateTime)
                _createdDate = value
            End Set
        End Property

    End Class
End Namespace